<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
    <title>图片上传测试</title>
    <meta charset="utf-8"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<p>Get your greeting <a href="/greeting">here</a></p>
上传图片：
<form action="/conferenceCheck/imageController/uploadImageToServer" method="POST" enctype="multipart/form-data">
    文件：<input type="file" name="image"/>
    <input type="text" name="type"/>
    <input type="text" name="identifyId"/>
    <input type="submit"/>
</form>
更新图片：
<form action="/conferenceCheck/imageController/updateImageFromServer" method="POST" enctype="multipart/form-data">
    文件：<input type="file" name="image"/>
    <input type="text" name="type"/>
    <input type="text" name="identifyId"/>
    <input type="submit"/>
</form>
<a href="/download">下载test</a>
<p>多文件上传</p>
<form method="POST" enctype="multipart/form-data" action="/conferenceCheck/imageController/uploadImage">
    <p>文件1：<input type="file" name="file"/></p>
    <p>文件2：<input type="file" name="file"/></p>
    <p><input type="submit" value="上传"/></p>
</form>
</html>